package LINE.comm.interceptor;

import java.text.SimpleDateFormat;
import java.util.Locale;

import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.context.MessageSource;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;


public class ProcessInterceptor extends HandlerInterceptorAdapter {
	
	@Resource(name="messageSource")
	MessageSource messageSource ;

	@Override
	public boolean preHandle(HttpServletRequest request, HttpServletResponse response,
	                  Object hadler) throws Exception {
		//tmp_loginInfo
		HttpSession session = request.getSession(true);
		if(session != null){
			
		}
		return true;
	}
	
	@Override
	public void postHandle(HttpServletRequest request,
			HttpServletResponse response, Object handler, ModelAndView modelAndView) throws Exception {


		
		if(modelAndView != null)
		{
			
		}
	}
}
